const { Switch } = require("../lib/types");

module.exports = {
    name: "ngx_http_limit_req_module",
    map: {
        limit_req: [String, , ["http", "server", "location"]],
        limit_req_dry_run: [Switch, false, ["http", "server", "location"]],
        limit_req_log_level: [String, "error", ["http", "server", "location"]],
        limit_req_status: [String, "503", ["http", "server", "location"]],
        limit_req_zone: [String, , "http"]
    }
};